import Router from "koa-router";

import user from "./user";
import passport from "./passport";
import article from "./article";
import articleLog from './articleLog';

const router = new Router();
router.prefix('/api')

router.use(user.routes(), user.allowedMethods());
router.use(article.routes(), article.allowedMethods());
router.use(articleLog.routes(), articleLog.allowedMethods());
router.use(passport.routes(), passport.allowedMethods());

export { router as default };
